﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
    <link href="../../assets/winui/weui.css" rel="stylesheet" />
    <link href="../../assets/lib/layui/css/codemirror.css" rel="stylesheet" />
</head>
<body>
	<div style="width:600px;margin:0 auto;padding-top:20px;">
	    <form class="layui-form" action="" id="showForm" autocomplete="off">
	    	<div class="layui-form-item">
	            <label class="layui-form-label">分类<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<select id="rmTypeId" name="rmTypeId" class="layui-input" lay-filter="selectParent" win-verify="required">
	                    
                    </select>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">分组<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<select id="rmGroupId" name="rmGroupId" class="layui-input" win-verify="required">
	                    
                    </select>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">HTML内容<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<textarea id="htmlContent" name="htmlContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">HTML-JS内容</label>
	            <div class="layui-input-block">
                	<textarea id="htmlJsContent" name="htmlJsContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                	<div id="htmlJsContentScript"></div>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">效果图<i class="red">*</i></label>
	            <div class="layui-col-xs8">
		            <div class="layui-col-xs10" id="printPic">
		                
		            </div>
		            <div class="layui-col-xs2">
		            	<a href="javascript:;" class="layui-btn layui-btn-xs" id="createPic" style="margin-left: 10px;margin-top: 10px;">生成图片</a>
		            </div>
	            </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">预览图<i class="red">*</i></label>
	            <div class="layui-col-xs6">
		            <div class="layui-col-xs10" id="images">
		                
		            </div>
		            <div class="layui-col-xs2">
		            	<a href="javascript:;" class="layui-btn layui-btn-xs" id="download" style="margin-left: 10px;margin-top: 10px;">下载</a>
		            </div>
	            </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">WXML内容<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<textarea id="wxmlContent" name="wxmlContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">WXML-JS数据内容</label>
	            <div class="layui-input-block">
                	<textarea id="wxmlJsDataContent" name="wxmlJsDataContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">WXML-JS方法内容</label>
	            <div class="layui-input-block">
                	<textarea id="wxmlJsMethodContent" name="wxmlJsMethodContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">WXML-JS初始化内容</label>
	            <div class="layui-input-block">
                	<textarea id="wxmlJsMethodCreateContent" name="wxmlJsMethodCreateContent" placeholder="请填写代码块" class="layui-textarea" style="height: 100px;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <div class="layui-input-block">
	                <button class="winui-btn" id="cancle">取消</button>
	                <button class="winui-btn" lay-submit lay-filter="formAddBean">保存</button>
	            </div>
	        </div>
	    </form>
	</div>
	<script src="../../assets/lib/layui/layui.js"></script>
   	<script src="../../assets/lib/layui/custom.js"></script>
   	<script src="../../assets/winui/jweixin-1.0.0.js"></script>
   	<script src="../../assets/winui/weui.min.js"></script>
   	<!-- html2canvas将Dom节点在Canvas里边画出来 -->
   	<script src="../../assets/html2canvas/js/html2canvas.min.js"></script>
   	<!-- 将canvas图片保存成图片 -->
   	<script src="../../assets/html2canvas/js/canvas2image.js"></script>
   	<script src="../../assets/html2canvas/js/base64.js"></script>
   	<script type="text/javascript">
        layui.config({base: '../../js/rmgroupmember/'}).use('rmgroupmemberadd');
    </script>
</body>
</html>